package com.lhd.mpaas.demo.launcher;

import android.os.Bundle;
import android.util.Log;

import com.alipay.mobile.nebula.provider.H5AppCenterPresetProvider;
import com.alipay.mobile.nebula.provider.H5ReceivedSslErrorHandler;
import com.alipay.mobile.nebula.util.H5Utils;

/**
 * Created by omg on 2018/7/23.
 */

public class H5NebulaInitServiceImpl extends H5NebulaInitService {
    @Override
    protected void onCreate(Bundle bundle) {
        // 内置小程序资源包
        H5Utils.setProvider(H5AppCenterPresetProvider.class.getName(), new H5AppCenterPresetProviderImpl());
//        GapResProvider.register();
//        H5Utils.setProvider(H5ReceivedSslErrorHandler.class.getName(), new H5ReceivedSslErrorHandlerImpl());
        Log.d("==========>>>", "小程序前置条件");
    }

    @Override
    protected void onDestroy(Bundle bundle) {

    }
}
